package com.boot.service;

import com.boot.business.PurchaseDTO;
import com.boot.result.Result;
import com.boot.storage.pojo.Storage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author liyan
* @description 针对表【storage】的数据库操作Service
* @createDate 2025-05-25 16:32:54
*/
public interface StorageService extends IService<Storage> {

    Result getStorageByProductId(Long id);

    Result deduct(PurchaseDTO purchaseDTO);
}
